﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sys
{
    public sealed class ClientObject
    {
      
        /// <summary>
        /// 登陆系统
        /// </summary>
        /// <param name="name"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        //public bool Login(string name, string password)
        //{
        //    Boolean returnBool = false;
        //    Object returnObject = Sys.MembershipUser.Login(name, password);
        //    if (returnObject != null)
        //    {
        //        _user = (MembershipUser)returnObject;
        //        _user.Principal = Csla.ApplicationContext.User;
        //        returnBool = true;
        //        System.Web.HttpContext.Current.Session.Contents["AppUser"] = returnObject;
        //    }

        //    return returnBool;
        //}
    }
}
